<div class="form-container">
<div class="validation-errors" id="validationErrors" style="display:none;"></div>
<div class="walk-register-buttons" style="float: left;">
<a href="<?php echo( base_url() ); ?>cmb/member/home/<?php echo( $urlKey ); ?>/" target="_self">Existing Member Home</a>
</div>
<div class="walk-register-buttons" style="float: right;">
	<a href="<?php echo( base_url() ); ?>cmb/member/homepage_logout/"><img src="<?php echo( base_url() ); ?>assets/images/buttons/logout1.gif" border="0" /></a>
</div>
<?php
	Includes::IncludeFile( Includes::$FORM );
	Includes::IncludeFile( Includes::$SPACER );		
		//Register unregistered members
		//----------------------------------------
		Spacer::Render(0, 50);
		$numunreg = count($unregInfo);
		if ($numunreg > 0)
		{
			echo('<b>Unregistered Members Info</b>');
			echo('<hr />');
			foreach($unregInfo as $personInfo)
			{
				Form::OpenFormItem('Primary Member First Name:', 260);
					echo( form_label($personInfo[3], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('Primary Member Last Name:', 260);
					echo( form_label($personInfo[4], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('Primary Member Email:', 260);
					echo( form_label($personInfo[9], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('Address1:', 260);
					echo( form_label($personInfo[5], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('City:', 260);
					echo( form_label($personInfo[6], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('State:', 260);
					echo( form_label($personInfo[7], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				Form::OpenFormItem('Zip:', 260);
					echo( form_label($personInfo[8], 'pinfo', 'style="width: 20px;" ') );
				Form::CloseFormItem();
				echo('<a href="'.base_url().'cmb/member_registration/register_members_process/'.$personInfo[0].'/" target="_blank">Register Member</a>');
				echo('<hr style="width:50%; size:10; color:#0000FF;" align="left" />');
				
				Spacer::Render(0, 20);	
			}
		}
		else
		{
			echo('<b>No Unregistered Members</b>');
		}
		//----------------------------------------
													
		echo( form_close() );
?>
</div>
